home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr10
/
pageit.zip
/
PAGEIT.DOC
< prev
next >
Wrap
Text File
|
1993-06-06
|
19KB
|
404 lines
PageIt v1.0
Page Sort Routine for Text Files
╔═══════════════════════════════════════════════════════╗
║ ║
║ ║
║ (c)opyright 1990 by R.L. Amans ║
║ 7/09/90 ║
║ 313-373-7904 ║
║ CompuServe I.D. = 72716,1522 ║
║ ║
║ ║
╚═══════════════════════════════════════════════════════╝
PageIt (TM) v1.0
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
User's Guide
▀▀▀▀▀▀▀▀▀▀▀▀
by
▀▀
Robert L. Amans
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Changes are periodically made to the information contained herein. These
changes will be incorporated into future editions of this publication.
Contact the person below with comments and questions:
Robert L. Amans
3242 Salem Dr.
Rochester Hills, MI 48306
CompuServe I.D. = 72716,1522
PROPRIETARY NOTICE
PageIt (TM) is a proprietary product published by Robert L. Amans, Rochester
Hills, Michigan. PageIt is Copyright R.L. Amans - 1990.
All rights reserved except those expressly granted in writing to the user, or
by this document.
Review the README.txt file on the distribution disk for information pertaining
to PageIt (TM) that may not be included in the documentation.
DISCLAIMER
R.L. Amans hereby disclaims all warranties relating to PageIt (TM), whether it
is expressed or implied, including and without limitation to any implied
warranties of merchantability or fitness for a particular purpose. R.L. Amans
cannot and will not be liable for any special, incidental, consequential,
indirect or similar damages due to the loss of data or any other reason
through the use of PageIt (TM), even if R.L. Amans or an authorized agent has
been advised of the possibility of such damages. Further, in no event shall
the liability for any damages ever exceed the price paid for the license to
use PageIt (TM), regardless of the form and/or extent of the claim. The user
of PageIt (TM) bears all risk as to the quality and performance of the
software.
LICENSE
PageIt (TM) is a Shareware product. As such, it is made available to the
general computing public for evaluation. Users are licensed to operate PageIt
(TM) on their personal computers for the purpose of test and evaluation on a
trial basis for a limited period of time. If the user decides the program is
not of sufficient merit to warrant purchase through registration with R.L.
Amans, program use should cease. Otherwise, if the program is deemed useful
and is in regular use, registration with R.L. Amans is required.
Registered users are those users that elect to pay for PageIt (TM) and
register that payment with R.L. Amans. By virtue of registration and payment
for the program, registered users are granted a license to continue to utilize
the program for as long as they choose. This license authorizes the user to
use the program on any personal computer system so long as the program is
operated on only one computer system at a time.
PageIt (TM) is a fully functional Shareware product. Shareware is a computer
program distribution/marketing method that permits potential buyers to
thoroughly try the program prior to purchase. It is NOT free and it is not in
the Public Domain. If, after evaluating the program, you find it to be useful
enough to use it on a regular basis, you are expected to pay for it by
registering with R.L. Amans. Technical support will be provided through two
means:
1) By phone: (313)-373-7904
2) Electronically through CompuServe: 72716,1522
I do my best to support my software. One of the great strengths of the
Shareware concept is the interaction between the program author and the users.
Many of the features contained in PageIt (TM) are the result of user input.
If you have a problem evaluating this program please do not hesitate to
contact me. Technical support will be available through the U.S. mail,
telephone, or CompuServe.
REGISTRATION (See the form at the end of this document)
PageIt (TM) is the sole property of R.L. Amans. The shareware version may be
freely copied and transferred to individual parties for evaluation purposes.
It may be posted on Bulletin Board systems (BBS) for electronic access as long
as NO FEE is charged for its distribution except for private BBS operations
that charge a regular user subscription fee.
PageIt (TM) may NOT be distributed on diskette by any disk distributor/vendor
that charges more than $10.00 for the diskette upon which the program and
attendant files are recorded without written consent from R.L. Amans.
PageIt (TM) is a Shareware product, Copyright 1990 by R.L. Amans, all rights
reserved. Disk vendors who distribute Shareware and public domain software on
5 1/4" and/or 3 1/2" floppy diskettes are permitted to distribute PageIt (TM)
providing that the vendor's fee is less than $10.00 for the disk containing
PageIt (TM) files. Vendors who charge more than $10.00 per disk are
PROHIBITED from distributing PageIt (TM) in any form without expressed written
consent from R.L. Amans.
Vendors who meet the above requirements may distribute PageIt (TM) only if
ALL attendant files are included on the distribution diskette, and only if NO
files are modified in any way. The PageIt (TM) files that MUST be included
on the distribution diskette are:
PageIt.COM - PageIt (TM) executable
PageIt.DOC - PageIt (TM) documentation
Readme.Txt - Misc update information
See the form at the end of this document please.
PURPOSE
PageIt (TM) is used when text files must be printed in "booklet" form. This
product is a "pre-processor" to the printing process. It sorts the text file
into the proper order for printing the text file "pages" on single sheets of
paper to facilitate making a booklet. The text file is then printed with a
right or left leading page and the "pages" are printed on the front of the
paper then on the back.
As an example, assume the text file was eleven pages in length. PageIt (TM)
would sort the pages and inform the user as to how many sheets of paper would
be required. The sort process is based on two "pages" per side of paper.
Output ... Right Leading Page Left Leading Page
▀▀▀▀▀▀▀▀▀▀ 3 sheets of paper 3 sheets of paper
page order: page order:
═════════════════════════════════════════════
6,7 5,6
4,9 3,8
2,11 1,10
... at this point the paper is placed back into the printer ...
12,1 (12 is blank) 11,0 (same as 12 - blank)
10,3 9,2
8,5 7,4
USAGE
PageIt (TM) is not a text editor nor is it a print routine. It imports a text
file and sorts the pages into the proper logical order for "booklet"
printing and saves the "new" file back to disk. The new file is now ready to
be printed through the use of another routine. However, the package is very
flexible and can even be used to provide multiple column output with the pages
sorted. Examples will follow this discussion.
PROCEDURE
Step 1
══════
Use a text editor to provide a "proof" ready document complete
with the headers, footers and pagination. DP-Editor (TM), another
shareware product is good for this application. However, any product can
be used.
Step 2
══════
Use PageIt (TM) to sort the document file created above into the proper
order for booklet printing. The input file name and resultant output file
name is required. The program then searches the file for page breaks
and tells the user how many "printed" pages are found. PageIt (TM) then
asks if the file is to be right or left leading and finally informs the
user as to how many actual pages of paper are required.
Step 3
══════
Place only those pages to be printed on into the printer. The quantity is
noted in step 2 above. Use the printing package of your choice to print
the text file. DeskJet Landscaper (TM) is an excellent choice for this
process if the file is to be printed sideways on the Hewlett-Packard
Deskjet (TM) printer.
Step 4
══════
When the paper runs out on the printer - the fronts of the paper will
contain half of the text file. Place the "used" paper back into the
printer. Note, the last page printed will be the first page printed when
printing the backs. Put the printer back on line and the second half of
the file will be printed on the back of the sheets.
PARTICULARS
PageIt (TM) is not a printing routine, nor is it an editor. It is used to
sort existing pages of a text file and prepare the order for "booklet" form
output.
The output is processed through a file that is created to hold the sorted
pages. This is done to remove any file size limitations. Therefore, insure
enough room exists on the disk being used to hold a file about the size of the
original.
If the original file includes page breaks, [Chr$(12)], they are removed and
carrige returns and line feeds are inserted into the final file in their
place. This is done to insure compatibility with the widest variety of
printing routines and printers. (Mostly the original HP Deskjet printer)
Because page breaks are not used, and lines per page are; insure that the
printing package used is consistant with the lines per page requirement. That
is, if the final print file is sorted with 61 lines per page being used as the
actual page size, the print routine must also use a page size of 61 lines per
page.
The order of sort is determined after the file size is determined and based on
left or right leading pages. The middle of the booklet is printed first and
each "page" of the booklet below is printed in turn. Printing is done
"inside-out". The facing pages are printed next. Printing is started from
the outside first and each page is then printed in turn. Therefore, the last
page printed on the first pass is inserted into the printer first for the
second pass, etc.
Familiarize yourself with the order of printed pages because each printer
handles pages differently. For the HP Deskjet printer the process is as
follows ...
════════════════════ Deskjet printer process ════════════════════
1.» Print one side of the paper until the pile is exhausted
the pile is based on the paper count noted by PageIt (TM).
2.» Without resorting the paper, insert them back into the
printer in the same orientation they came out.
3.» After printing is complete reset the Deskjet and turn the pile
of paper over and manually resort the printed pages to put
them in booklet order for folding.
═════════════════════════════════════════════════════════════════
Resultant Example - text file with 11 pages of text ...
Output ... Right Leading Page Left Leading Page
▀▀▀▀▀▀▀▀▀▀ 3 sheets of paper 3 sheets of paper
Sheet of Paper page order: page order:
notice order! ═════════════════════════════════════════════
1 6,7 5,6
2 4,9 3,8
3 2,11 1,10
3 12,1 (12 is blank) 11,0 (same as 12 - blank)
2 10,3 9,2
1 8,5 7,4
MISC
Multiple columns can be handled also. Simply tell PageIt (TM) that the lines
per page will be twice the actual. (Use 122 lines per page and not 61)
PageIt (TM) will then sort the original document with every two pages being
combined. Deskjet Landscaper (TM) can handle this nicely. Try it!
USAGE
The command line call is:
PageIT <Input file> <Output file>
PageIt (TM) will check for the existance of both files and notify if the
output file exists. If it does, the user is asked if it should be
overwritten. If the response is no, a new file name is accepted. If the
input file does not exist, the program aborts. A null response or <ESC> is
used at the file query to abort the program.
The command line arguments are optional. If they are not present PageIt (TM)
will prompt for input and output file names. It will then prompt for page
size in lines per page, and if a right or left leading booklet is required.
Sample Screen:
▀▀▀▀▀▀▀▀▀▀▀▀▀▀
┌────────────────────────────────┐
│ PageIt by R.L. Amans │
│ Copyright (c) R.L. Amans, 1990 │
│ │
│ USAGE: │
│ PAGEIT Infile / Outfile │
└────────────────────────────────┘
What is the name of the input file? B:\PAGEIT.DOC « input file response
What is the name of the output file? B:\PAGEIT.PRN « output file response
What is the page size in lines per page? 61 « page size response
This document is 9 pages long « quantity of pages
Do you want Right Leading? <Y/N> N « right/left leading?
The number of pages to print is 9 « quantity of pages
The amount of paper to be used is 3 sheets « paper needed for job
Printing page 4 to disk « page sent to disk
CLOSING
Pay special attention to the Readme.Txt file for update information.
Thanks for your support and registering of this software package.
PageIt v1.0 (TM)
Robert L. Amans
3242 Salem Drive
Rochester Hills, MI 48306
(313) 373-7904
72716,1522 CompuServe I.D.
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
══════════════════════════════════════════════════════════════════════════════
PRODUCT PURCHASE FORM:
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Products:
┌┐ Deskjet Landscaper v5.0 Sideways print routine for the HP
└┘ Deskjet Printer. ($20.00)
┌┐ Dos Pro Plus Dos file management system, shell
└┘ with and menu environment with many file
Dos Pro Utilities utilities. ($20.00)
┌┐ DP-Editor Dos Pro Editor for the PC. A full
└┘ featured, but simple to use ASCII
editor. ($20.00)
┌┐ PageIt Booklet page sort routine for the
└┘ PC. Ideal for preprocessor to
landscaper above or other publishers.
($10.00)
Registration only: ────────────────────── (at $20.00 each)
────────────────────── (at $10.00 each)
Shipping and handling: ────────────────────── (at $2.00 each)
Total: ──────────────────────
Name: ───────────────────────────────────
Company: ───────────────────────────────────
Address: ───────────────────────────────────
───────────────────────────────────
State Zip: ───────────────────── ───────
Phone Number: ──────────────
Send check or money order to:
Robert L. Amans
3242 Salem Dr.
Rochester Hills, MI 48306
══════════════════════════════════════════════════════════════════════════════
PRODUCT REGISTRATION FORM:
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
Products:
┌┐ Deskjet Landscaper v5.0 Sideways print routine for the HP
└┘ Deskjet Printer.
┌┐ Dos Pro Plus Dos file management system, shell
└┘ with and menu environment with many file
Dos Pro Utilities utilities
┌┐ DP-Editor Dos Pro Editor for the PC. A full
└┘ featured, but simple to use ASCII
editor.
┌┐ PageIt Booklet page sort routine for the
└┘ PC. Ideal for preprocessor to
landscaper above or other publishers.
Product serial number: ──────────────────────
Purchase date: ──────────────────────
Place of purchase: ──────────────────────
Name: ───────────────────────────────────
Company: ───────────────────────────────────
Address: ───────────────────────────────────
───────────────────────────────────
State Zip: ───────────────────── ───────
Phone Number: ──────────────
End of Documentation
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀